#include "winner.h"
#include "board.h"

//(*InternalHeaders(winner)
#include <wx/bitmap.h>
#include <wx/font.h>
#include <wx/fontenum.h>
#include <wx/fontmap.h>
#include <wx/image.h>
#include <wx/intl.h>
#include <wx/settings.h>
//*)

//(*IdInit(winner)
const long winner::ID_STATICTEXT1 = wxNewId();
const long winner::ID_BUTTON1 = wxNewId();
const long winner::ID_BUTTON2 = wxNewId();
//*)

BEGIN_EVENT_TABLE(winner,wxFrame)
	//(*EventTable(winner)
	//*)
END_EVENT_TABLE()


winner::winner(wxWindow* parent,wxWindowID id)
{
	//(*Initialize(winner)
	Create(parent,id,wxEmptyString,wxDefaultPosition,wxDefaultSize,wxDEFAULT_FRAME_STYLE,_T("wxFrame"));
	SetClientSize(wxSize(407,158));
	StaticText1 = new wxStaticText(this,ID_STATICTEXT1,_("X won. Would you like to play another game\?"),wxPoint(53,22),wxDefaultSize,0,_T("ID_STATICTEXT1"));
	Button1 = new wxButton(this,ID_BUTTON1,_("Yes"),wxPoint(91,64),wxDefaultSize,0,wxDefaultValidator,_T("ID_BUTTON1"));
	Button2 = new wxButton(this,ID_BUTTON2,_("No"),wxPoint(214,65),wxDefaultSize,0,wxDefaultValidator,_T("ID_BUTTON2"));
	//*)
}

winner::~winner()
{
	//(*Destroy(winner)
	//*)
}

